package com.yanqu.road.entity.activity.peakstronghold;

import com.yanqu.road.entity.DataObject;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

// 据点战玩家数据
public class CrossPeakStrongholdUserGuessData extends DataObject {

    private int activityId;

    private int unionGroup;

    private long userId;

    private Map<Integer,List<String>> guessWinMap = new ConcurrentHashMap<>();

    private List<String> guessFinalsMap = new ArrayList<>();


    public CrossPeakStrongholdUserGuessData() {
    }

    public CrossPeakStrongholdUserGuessData(int activityId, int unionGroup, long userId) {
        this.activityId = activityId;
        this.unionGroup = unionGroup;
        this.userId = userId;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public Map<Integer, List<String>> getGuessWinMap() {
        return guessWinMap;
    }

    public void setGuessWinMap(Map<Integer, List<String>> guessWinMap) {
        this.guessWinMap = guessWinMap;
        setUpdateOption();
    }

    public List<String> getGuessFinalsMap() {
        return guessFinalsMap;
    }

    public void setGuessFinalsMap(List<String> guessFinalsMap) {
        this.guessFinalsMap = guessFinalsMap;
        setUpdateOption();
    }

    public int getUnionGroup() {
        return unionGroup;
    }

    public void setUnionGroup(int unionGroup) {
        this.unionGroup = unionGroup;
    }
}
